

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>企业网站管理系统后台登录</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Content-Language" content="zh-cn"/>
<meta content="企业网站管理系统后台登录"/>
<link rel="stylesheet" type="text/css" href="../templates/met/images/css/metinfo.css">
<script type="text/javascript" src="../../public/js/metinfo-min.js"></script>
<style type="text/css">
body {
	font-size: ; 
	font-family:;
	background-color:;
}
</style>
</head>
<script type="text/javascript">
function check_main_login(){
	var name = $("input[name='login_name']");
	var pass = $("input[name='login_pass']");
		if(name.val() == ''){
			alert('用户名不能为空');
			name.focus();
			return false;
		}
		if(pass.val() == ''){
			alert('密码不能为空');
			pass.focus();
			return false;
		}
}
function pressCaptcha(obj){
    obj.value = obj.value.toUpperCase();
}
function metfocus(intext){
        intext.focus(function(){
		    $(this).addClass('metfocus');
		});
        intext.focusout(function(){
		    $(this).removeClass('metfocus');
		});
}
$(document).ready(function(){
var loginheight =$('.login-min').height();
var bodyheight = $(document).height();
	$('.login-min').css('margin-top',(bodyheight-loginheight)/2);
    var inputps = $("input[type='text'],input[type='password']");
	if(inputps)metfocus(inputps);
});
</script>
<body id="login">
<div class="login-min">
	<div class="login-minl">
		<div class="login-minr">
			<div class="login-left">
 
			</div>
			<div class="login-right">	
				<h1 class="login-title">管理员登录</h1>
				<div>
				<form method="post" action="control.php" name="main_login" onSubmit="return check_main_login()">
					<input type="hidden" name="action" value="login" />
<p style="height:22px;">

	<label>后台语言:</label>
	<select name="loginlang" onchange=javascript:window.location.href=this.options[this.selectedIndex].value >

<option value="index.html?langset=cn" selected='selected'>简体中文</option>



	</select>

</p>
					<p><label>用户名:</label><input type="text" class="text" name="user" value=""  /></p>
					<p><label>密&nbsp;&nbsp;&nbsp;&nbsp;码:</label><input type="password" class="text" name="pwd" /></p>
					<p class="login-code">

					</p>
					<p class="login-submit">
						<input type="submit" name="Submit" value="登录" />
						<input name="reset" type="reset" value="清除" />
					</p>
					<p class="login-zhao"><a href="../admin/getpassword.php">忘记密码?</a></p>
				</form>
				</div>
			</div>
		</div>
	</div>
</div>
</body>
</html>
